import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: (resolve)=>{
        require(["@/components/HelloWorld"],resolve);
      }
    },{
      path:"/setting",
      name:"setting",
      component:(resolve)=>{
        require(["@/components/setting"],resolve);
      }
    }
  ]
})
